﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace wt.wine.Domain.Entities
{
    /// <summary>
    /// 设备表
    /// </summary>
    public class devicetable
    {
        public int id { get; set; }
        /// <summary>
        /// 设备编码
        /// </summary>
        public string deviceid { get; set; }
        /// <summary>
        /// 自定义设备编码
        /// </summary>
        public string cusdeviceid { get; set; }
        /// <summary>
        /// 产品id
        /// </summary>
        public int skuid { get; set; }
        /// <summary>
        /// 设备最大容量
        /// </summary>
        public int maxcapacity { get; set; }
        /// <summary>
        /// 设备容量阈值
        /// </summary>
        public int capacitythreshold { get; set; }
        /// <summary>
        /// 设备当前容量
        /// </summary>
        public int currentcapacity { get; set; }
        /// <summary>
        /// 添加设备人id
        /// </summary>
        public int userid { get; set; }
        /// <summary>
        /// 修改设备人id
        /// </summary>
        public int userpid { get; set; }
        /// <summary>
        /// 绑定经销商id
        /// </summary>
        public int binduserid { get; set; }
        /// <summary>
        /// 状态：-1 删除、0 离线 、1 出酒完成 2 暂停出酒 3、等待设备出酒
        /// </summary>
        public int state { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime createtime { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime updatetime { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string remark { get; set; }
    }
}
